化简:a^3tg45度+a^2btg^260度+9ab^2ctg^260度+2b^3cos60度

来源:百度知道 编辑:UC知道 时间:2024/09/22 17:39:32

package com;

public class CountTem {

/**
* @param args
*/
//a^3tg45度+a^2btg^260度+9ab^2ctg^260度+2b^3cos60度
public static void main(String[] args) {
// TODO Auto-generated method stub
double d ,a,b;
a=2;
b=3;
d=Math.pow(a,3)*Math.tan(45)+Math.pow(a, 2)*b*Math.tan(260)+
9*a*Math.pow(b, 2)+Math.atan(260)+2*Math.pow(b, 3)*Math.cos(60);
System.out.println(d);

}

}